package medios.daos;

import com.swsp.sql.DBManager;
import com.swsp.util.LogManager;

public class Dao {
	private DBManager dbMan;
	private LogManager log;
	
	public Dao() {
		
		dbMan = DBManager.getInstance();
		log   = LogManager.getInstance();
	}
	
	public DBManager dbMan() {
		return dbMan;
	}
	
	public LogManager getLog() {
		return log;
	}
	
	public void log(String msg , Object caller) {
		getLog().writeLog(4, caller, msg);
	}
}
